Microsoft DirectX 8.1 (C++)

IMediaPosition.CanSeekBackward

The CanSeekBackward method queries whether the stream can be seeked backward.

Syntax

objMediaPosition.CanSeekBackward() As Long

Parameters

This method takes no parameters.

Return Values

Returns True if the stream can be seeked backward, or False otherwise.

Example Code

If iPosition.CanSeekBackward Then
    ' Seek back to the beginning.
    IPosition.CurrentPosition = 0
End If

See Also